package com.achievement.mappings;

import com.achievement.domain.bo.CopyRightBO;
import com.achievement.domain.dto.CopyRightDTO;
import com.achievement.domain.entity.CopyRightEntity;
import com.achievement.domain.vo.CopyRightVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface CopyRightMapping {

    CopyRightVO dto2Vo(CopyRightDTO dto);

    CopyRightBO dto2Bo(CopyRightDTO dto);

    CopyRightEntity dto2Entity(CopyRightDTO dto);

    CopyRightDTO vo2Dto(CopyRightVO vo);

    CopyRightVO bo2Vo(CopyRightBO bo);
    CopyRightEntity bo2Entity(CopyRightBO bo);

    CopyRightDTO entity2Dto(CopyRightEntity dto);

    CopyRightVO entity2Vo(CopyRightEntity dto);

    CopyRightBO entity2Bo(CopyRightEntity dto);

    /*@Mappings(
            {
                    @Mapping(source = "id", target = "id")
            }
    )
    CopyRightDTO bo2Dto(CopyRightBO bo);
*/


}
